package com.dao.impl;

import com.dao.IClassInfoDAO;
import com.util.BaseDAO;

import java.util.List;
import java.util.Map;

public class ClassInfoDAOImpl implements IClassInfoDAO {
    @Override
    public List<Map<String, Object>> listAll() {
        String sql="select classId,className from classInfo";
        return BaseDAO.executeQuery(sql,null);
    }
}
